package com.example.myspringboot.annotation.test.mytest;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author ZhengShan
 * @Date 2024 06 28 14 36
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER, ElementType.CONSTRUCTOR, ElementType.FIELD})
public @interface MyAnnotation {

    String[] desc() default "desc修饰方法";

    String[] value() default "value修饰方法";

}
